package com.qf.ssm.mapper;

import com.qf.ssm.entity.PropertyGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PropertyGroupMapper {
    List<PropertyGroup> selectDefaultDisplay();

    PropertyGroup selectGroup(@Param("pgId") int pgId, @Param("pgName") String pgName, @Param("status") int status);

    int disable(@Param("pgId") int pgId);

    int enable(@Param("pgId") int pgId);

    int update(@Param("updateGroup") PropertyGroup updateGroup);

    int insert(@Param("insertGroup") PropertyGroup insertGroup);

    int delete(@Param("pgId") int pgId);
}
